#!/bin/bash
export GO111MODULE="off"
#for linux
GOPATH=`pwd` GOOS=linux GOARCH=amd64 go build -o google main.go
GOPATH=`pwd` GOOS=linux GOARCH=386 go build -o google32 main.go

#for windows
GOPATH=`pwd` GOOS=windows GOARCH=amd64 go build -o google.exe main.go
GOPATH=`pwd` GOOS=windows GOARCH=386 go build -o google32.exe main.go

#for mac
GOPATH=`pwd` GOOS=darwin GOARCH=amd64 go build -o google_darwin main.go
GOPATH=`pwd` GOOS=darwin GOARCH=386 go build -o google_darwin32 main.go

#for arm64
GOPATH=`pwd` GOOS=linux GOARCH=arm64 go build -o google_arm main.go
GOPATH=`pwd` GOOS=linux GOARCH=arm go build -o google_arm32 main.go
